package spring6.service.impl;

import spring6.dao.UserDao;
import spring6.dao.impl.UserDaoImpl;
import spring6.service.UserService;

public class UserServiceImpl implements UserService {

    UserDao userdao=new UserDaoImpl();

//    private UserDao userdao;

    @Override

    public void deleteUser() {
        userdao.deleteById();
    }

    public void deleteUser1(){
        userdao.deleteOracle();

    }
}
